<?php /* Smarty version Smarty-3.1.14, created on 2017-08-22 15:33:30
         compiled from "E:\phpStudy\WWW\zyshop\admin\templates\order_list.html" */ ?>
<?php /*%%SmartyHeaderCode:232975994f29f529aa4-52485094%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '3155731678f6c7de90068350afe140d8999ac2df' => 
    array (
      0 => 'E:\\phpStudy\\WWW\\zyshop\\admin\\templates\\order_list.html',
      1 => 1503387201,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '232975994f29f529aa4-52485094',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.14',
  'unifunc' => 'content_5994f29f57c620_27153496',
  'variables' => 
  array (
    'order_sn' => 0,
    'consignee' => 0,
    'zt' => 0,
    'order_list' => 0,
    'list' => 0,
    'page' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5994f29f57c620_27153496')) {function content_5994f29f57c620_27153496($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include 'E:\\phpStudy\\WWW\\zyshop\\includes\\libs\\plugins\\modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<style>
table{text-align: center;}
th a{ color:#000000;}
</style>
<body>
  <div class="fixed-bar">
    <div class="item-title">
      <h3>订单列表</h3>
        <form action="order.php" name="searchForm" method="get">
          <input type="hidden" name="act" value="list">
          <!-- 订单编号 -->
          订单编号
          <input type="text" name="order_sn" value="<?php echo $_smarty_tpl->tpl_vars['order_sn']->value;?>
"style="height:18px">
           <!-- 收货人 -->
          收货人
          <input type="text" name="consignee" value="<?php echo $_smarty_tpl->tpl_vars['consignee']->value;?>
"style="height:18px">
          订单状态
          <select name="zt">
            <option value="0"<?php if ($_smarty_tpl->tpl_vars['zt']->value=='0'){?>selected="selected"<?php }?>>请选择</option>
            <option value="1" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='1'){?>selected="selected"<?php }?>>待确认</option>
            <option value="2" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='2'){?>selected="selected"<?php }?>>待付款</option>
            <option value="3" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='3'){?>selected="selected"<?php }?>>待发货</option>
            <option value="4" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='4'){?>selected="selected"<?php }?>>已完成</option>
            <option value="5" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='5'){?>selected="selected"<?php }?>>付款中</option>
            <option value="6" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='6'){?>selected="selected"<?php }?>>取消</option>
            <option value="7" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='7'){?>selected="selected"<?php }?>>无效</option>
            <option value="8" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='8'){?>selected="selected"<?php }?>>退货</option>
            <option value="9" <?php if ($_smarty_tpl->tpl_vars['zt']->value=='9'){?>selected="selected"<?php }?>>部分发货</option>
          </select>
          <input value=" 搜索 " id="but_sousuo" style="width:50px; height:27px; margin-top:13px;" class="button" type="submit">
          <a href="order.php?act=list&zt=1">待确认</a>
          <a href="order.php?act=list&zt=2">待付款</a>
          <a href="order.php?act=list&zt=3">待发货</a>
          <div style="background:rgba(251,112,45,1);width:125px;height:40px;float:right;text-align:center;border-radius:5px;">
          <a href="order.php?act=excel">
          <h5 style="padding:10px;color:#fff;">订单导出</h5>
          </a>
          </div>
        </form>
      </div>
    </div>
  <div class="fixed_bottom">
    <form method="post" action="" id="aspnetForm" name="form1">
      <table align="center;" class="table tb-type2">
        <thead>
          <tr>
            <th width="50"><a>订单编号</a></th>
            <th width="25%"><a>下单时间</a></th>
            <th><a>收货人</a></th>
            <th><a>总金额</a></th>
            <th><a>应付金额</a></th>
            <th><a>订单状态</a></th>
            <th><a>操作</a></th>
          </tr>
        </thead>
        <tbody id="sortable">
          <?php  $_smarty_tpl->tpl_vars['list'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['list']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['order_list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['list']->key => $_smarty_tpl->tpl_vars['list']->value){
$_smarty_tpl->tpl_vars['list']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['list']->key;
?>
            <tr>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['order_sn'];?>
</td>
              <td>
              <span><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['list']->value['add_time'],'%Y-%m-%d %H:%M:%I');?>
</span>
              </td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['consignee'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['goods_amount'];?>
</td>
              <td><?php echo $_smarty_tpl->tpl_vars['list']->value['order_amount'];?>
</td>
              <td>
              <?php if ($_smarty_tpl->tpl_vars['list']->value['order_status']==0){?>未确认
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['order_status']==1){?>已确认
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['order_status']==2){?><font color="#FF0000">取消</font>
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['order_status']==3){?><font color="#FF0000">无效</font>
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['order_status']==4){?><font color="#FF0000">退货</font>
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['order_status']==5){?>已分单
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['order_status']==6){?>部分已分单
              <?php }?>&nbsp;&nbsp;
              <?php if ($_smarty_tpl->tpl_vars['list']->value['pay_status']==0){?>未付款
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['pay_status']==1){?>付款中
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['pay_status']==2){?>已付款
              <?php }?>&nbsp;&nbsp;
              <?php if ($_smarty_tpl->tpl_vars['list']->value['shipping_status']==0){?>未发货
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['shipping_status']==1){?>已发货
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['shipping_status']==2){?>收货确认
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['shipping_status']==3){?>配货中
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['shipping_status']==4){?>已发货(部分商品)
              <?php }elseif($_smarty_tpl->tpl_vars['list']->value['shipping_status']==5){?>发货中
              <?php }?>
              </td>
              <td>
                <a href="order.php?act=edit&order_id=<?php echo $_smarty_tpl->tpl_vars['list']->value['order_id'];?>
">查看</a>
              </td>
            </tr>
          <?php } ?>
        </table>
      <div class="page"><?php echo $_smarty_tpl->tpl_vars['page']->value;?>
</div>
    </form>
  </div>
</body>
</html><?php }} ?>